.task-my-task-viewer-container {
    position: relative;
    top: -50px;
    left: 50%;
    transform: translate(-50%, 0%);
    opacity: 0;
    height: 80px;
    box-shadow: 0 0 1px #AAA;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.5s;
    width: 90%;
    margin: 10px 0;
}

.task-my-task-viewer {
    width: 100%;
    height: 80px;
    display: flex;
}

.task-my-task-viewer-type,
.task-my-task-viewer-subject,
.task-my-task-viewer-timeleft {
    margin-top: 25px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
}

.task-my-task-viewer-type {
    margin-left: 10px;
    background: red;
    color: white;   
    border-radius: 5px;
    height: 20px;
    line-height: 20px;
    margin-top: 30px;
    width: 3rem;
}

.task-my-task-viewer-subject {
    text-align: left;
    font-size: 16px;
    text-indent: 2rem;
    flex: 1;
}

.task-my-task-viewer-timeleft {
    width: 6rem;
}

.task-my-task-viewer-underline {
    position: absolute;
    width: 0%;
    right: 0;
    height: 5px;
    background: rgb(66, 165, 245);
    transition: 0.5s;
    bottom: 0;
}

.task-my-task-viewer-container:hover {
    box-shadow: 0 0 10px #AAA;
}

.task-my-task-viewer-container:hover 
.task-my-task-viewer-underline {
    width: 100%;
}

.task-my-task-viewer-toFinish {
    position: absolute;
    top: 50%;
    right: -3rem;
    transform: translate(-50%, -50%);
    height: 100%;
    line-height: 80px;
    transition: 0.5s;
    color: white;
    width: 0;
    background: rgb(66, 165, 245);
}

.task-my-task-viewer-container:hover 
.task-my-task-viewer-toFinish {
    cursor: pointer;
    width: 6rem;
}